<?php
class Otent_model extends CI_Model {

    function __construct()
    {
        parent::__construct();
    }
	
	function get_user($username, $pass)
	{
		$this->db->select('*');
		$this->db->from('"user"');
		$this->db->where('nama', $username);
		$this->db->where('password', $pass);
		$result = $this->db->get();
		return $result->row_array();
	}
}
?>